package com.levy.contronller.javase.designModel.strategy;

/**
 * Created by levy on 2018/7/21.
 */
public class Context {

    private Strategy strategy;

    public Context(Strategy strategy) {
        this.strategy = strategy;
    }

    public void  encrypt(){
        strategy.encrypt();
    }
}
